package cc.taofoo.Design.BuilderModel;

import cc.taofoo.Design.BuilderModel.Compement.*;

public class TablePCBuilder extends ComputerBuilder{
    public TablePCBuilder() {
        computer.setType("台式机");
    }

    @Override
    void buildCPU() {
        computer.setCpu(new CPU("Intel i9"));
    }

    @Override
    void buildMonitor() {
        computer.setMonitor(new Monitor("AOC X9"));
    }

    @Override
    void buildMemory() {
        computer.setMemory(new Memory("SAMSUNG"));
    }

    @Override
    void buildMainBoard() {
        computer.setMainBoard(new MainBoard("GigaBytes"));
    }

    @Override
    void buildDisk() {
        computer.setDisk(new Disk("San Disk"));
    }


}
